export default {
    namespaced: true,
    state: () => ({
        announce_list: [],
        help_list: [],
        message_stat: {}
    }),
    mutations: {
        INIT_DATA(state, data){
            for(var i in state){
                if(data[i]){
                    state[i] = data[i];
                }
            }
        },
        UPDATE_DATA(state, data){
            for(var i in state){
                if(data[i]){
                    state[i] = data[i];
                }
            }
        },
    }
};